#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

protected:

    virtual bool eventFilter(QObject *o, QEvent *e);

protected slots:

    void onUpdateTabs();


private:
    Ui::MainWindow *ui;

private slots:
    void on_tabWidget_currentChanged(int index);
    void on_tabWidget_tabCloseRequested(int index);
    void on_actionSave_All_triggered();
    void on_actionQuit_triggered();
    void on_actionClose_All_triggered();
    void on_actionClose_triggered();
    void on_actionSave_As_triggered();
    void on_actionSave_triggered();
    void on_actionNew_Campaign_Setting_triggered();
    void on_actionNew_Character_Class_triggered();
    void on_actionOpen_triggered();
};

#endif // MAINWINDOW_H
